package com.scorpio.basic.mapper;

import com.scorpio.common.dao.BaseDao;
import com.scorpio.basic.domain.HomeListResEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 首页列资源Mapper接口
 *
 * @author scorpio
 * @date 2021-11-16
 */
@Mapper
public interface HomeListResMapper extends BaseDao<HomeListResEntity> {

    HomeListResEntity selectByHId(@Param("hId") Long hId, @Param("showSite") String showSite);

    int updateRes(HomeListResEntity entity);

    int deleteByShowSite(@Param("hId") Long hId, @Param("showSite") String showSite);
}
